# -*- coding:utf-8 -*-
data = {'kushal':'Fedora','kart_':'Debian','Jace':'Mac'}
print (data)
print (data['kart_'])
#创建新的键值
data['parthan'] = 'Ubuntu'
print (data)
#删除键值
del data['kushal']
print (data)
#使用in关键字查询指定键是否存在字典中
print('Jace' in data)
#遍历字典
for x,y in data.items():
    print("{} uses {}".format(x, y))

